package com.example.demo.index;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageVO {

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date now;
    private TotalNum nowConfirm;
    private TotalNum confirmed;
    private TotalNum recovered;
    private TotalNum deaths;
}
